**** dT 0.000 * top TEST ../../../../bin/vinyltest/vtest2/tests/a00000.vtc starting **** top extmacro def pkg_version=trunk **** top extmacro def pkg_branch=trunk **** top extmacro def pwd=/tmp/vtest.gcc13_m32_IPv4_uffix/varnish-cache/vinyl-cache-trunk/_build/sub/bin/vinyltest **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:51996 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top extmacro def topbuild=/tmp/vtest.gcc13_m32_IPv4_uffix/varnish-cache/vinyl-cache-trunk/_build/sub **** top extmacro def topsrc=/tmp/vtest.gcc13_m32_IPv4_uffix/varnish-cache/vinyl-cache-trunk/_build/sub/../.. **** top macro def testdir=/tmp/vtest.gcc13_m32_IPv4_uffix/varnish-cache/vinyl-cache-trunk/_build/sub/bin/vinyltest/../../../../bin/vinyltest/vtest2/tests **** top macro def tmpdir=/tmp/vtest.gcc13_m32_IPv4_uffix/_vtest_tmp/vtc.945227.52fef27c **** top macro def vtcid=vtc.945227.52fef27c ** top === vtest "Test vtest itself" * top VTEST Test vtest itself ** top === shell -exit 1 -match {v.*test \[options]} {vtest -h} **** dT 0.001 **** top shell_cmd|set -e ;exec 2>&1 ; vtest -h **** dT 0.072 **** top shell_out|usage: vinyltest [options] file ... **** top shell_out| -b size # Set internal buffer size (default: 1M) **** top shell_out| -C # Use cleaner subprocess **** top shell_out| -D name=val # Define macro **** top shell_out| -E extension_shlib # Load extension **** top shell_out| -i # Find varnish binaries in build tree **** top shell_out| -j jobs # Run this many tests in parallel **** top shell_out| -k # Continue on test failure **** top shell_out| -L # Always leave temporary vtc.* **** top shell_out| -l # Leave temporary vtc.* if test fails **** top shell_out| -n iterations # Run tests this many times **** top shell_out| -p name=val # Pass a varnishd parameter **** top shell_out| -q # Quiet mode: report only failures **** top shell_out| -t duration # Time tests out after this long **** top shell_out| -v # Verbose mode: always report test log **** top shell_status = 0x0001 **** top shell_match succeeded ** top === shell -exit 1 -match {-D.*Define macro} {vtest -h} **** top shell_cmd|set -e ;exec 2>&1 ; vtest -h **** dT 0.134 **** top shell_out|usage: vinyltest [options] file ... **** top shell_out| -b size # Set internal buffer size (default: 1M) **** top shell_out| -C # Use cleaner subprocess **** top shell_out| -D name=val # Define macro **** top shell_out| -E extension_shlib # Load extension **** top shell_out| -i # Find varnish binaries in build tree **** top shell_out| -j jobs # Run this many tests in parallel **** top shell_out| -k # Continue on test failure **** top shell_out| -L # Always leave temporary vtc.* **** top shell_out| -l # Leave temporary vtc.* if test fails **** top shell_out| -n iterations # Run tests this many times **** top shell_out| -p name=val # Pass a varnishd parameter **** top shell_out| -q # Quiet mode: report only failures **** top shell_out| -t duration # Time tests out after this long **** top shell_out| -v # Verbose mode: always report test log **** top shell_status = 0x0001 **** top shell_match succeeded ** top === shell { **** top shell_cmd|set -e ;exec 2>&1 ; **** top shell_cmd|\tpwd **** top shell_cmd|\techo 'notvtest foo bar' > _.vtc **** top shell_cmd|\techo 'shell "exit 9"' >> _.vtc **** dT 0.144 **** top shell_out|/tmp/vtest.gcc13_m32_IPv4_uffix/_vtest_tmp/vtc.945227.52fef27c **** top shell_status = 0x0000 ** top === shell -exit 2 -expect {doesn't start with 'vtest' or 'varnis... **** top shell_cmd|set -e ;exec 2>&1 ; **** top shell_cmd|\tvtest -v _.vtc **** dT 0.213 **** top shell_out|File "_.vtc" doesn't start with 'vtest' or 'varnishtest' **** top shell_status = 0x0002 **** top shell_expect found ** top === shell -exit 77 -expect {0 tests failed, 1 tests skipped, 0 t... **** top shell_cmd|set -e ;exec 2>&1 ; **** top shell_cmd|\tunset TMPDIR **** top shell_cmd|\tvtest -k _.vtc **** dT 0.283 **** top shell_out|File "_.vtc" doesn't start with 'vtest' or 'varnishtest' **** top shell_out|0 tests failed, 1 tests skipped, 0 tests passed **** top shell_status = 0x004d **** top shell_expect found ** top === shell -expect {__=barf} { **** top shell_cmd|set -e ;exec 2>&1 ; **** top shell_cmd|\techo vtest foo > _.vtc **** top shell_cmd|\tprintf 'shell {echo %c{foobar} > /tmp/vtest.gcc13_m32_IPv4_uffix/_vtest_tmp/vtc.945227.52fef27c/__}' '$' >> _.vtc **** top shell_cmd|\tvtest -q -Dfoobar=barf _.vtc **** top shell_cmd|\techo __=`cat __` **** dT 0.420 **** top shell_out|__=barf **** top shell_status = 0x0000 **** top shell_expect found ** top === shell -exit 2 -expect {TEST _.vtc FAILED} { **** top shell_cmd|set -e ;exec 2>&1 ; **** top shell_cmd|\techo vtest foo > _.vtc **** top shell_cmd|\techo 'shell {false}' >> _.vtc **** top shell_cmd|\texec vtest -v _.vtc || true **** dT 0.525 **** top shell_out|**** dT 0.000 **** top shell_out|* top TEST _.vtc starting **** top shell_out|**** top extmacro def pkg_version=trunk **** top shell_out|**** top extmacro def pkg_branch=trunk **** top shell_out|**** top extmacro def pwd=/tmp/vtest.gcc13_m32_IPv4_uffix/_vtest_tmp/vtc.945227.52fef27c **** top shell_out|**** top extmacro def date(...) **** top shell_out|**** top extmacro def string(...) **** top shell_out|**** top extmacro def localhost=127.0.0.1 **** top shell_out|**** top extmacro def bad_backend=127.0.0.1:52013 **** top shell_out|**** top extmacro def listen_addr=127.0.0.1:0 **** top shell_out|**** top extmacro def bad_ip=192.0.2.255 **** top shell_out|**** top macro def testdir=/tmp/vtest.gcc13_m32_IPv4_uffix/_vtest_tmp/vtc.945227.52fef27c **** top shell_out|**** top macro def tmpdir=/tmp/vtest.gcc13_m32_IPv4_uffix/_vtest_tmp/vtc.945551.0bc32c26 **** top shell_out|**** top macro def vtcid=vtc.945551.0bc32c26 **** top shell_out|** top === vtest foo **** top shell_out|* top VTEST foo **** top shell_out|** top === shell {false} **** top shell_out|**** top shell_cmd|set -e ;exec 2>&1 ; false **** top shell_out|**** dT 0.010 **** top shell_out|**** top shell_status = 0x0001 **** top shell_out|---- top shell_exit not as expected: got 0x0001 wanted 0x0000 **** top shell_out|* top RESETTING after _.vtc **** top shell_out|* top TEST _.vtc FAILED **** top shell_out|Assert error in cleaner_do(), ../../../../bin/vinyltest/vtest2/src/vtc_main.c line 240: **** top shell_out| Condition((system(buf)) == 0) not true. **** top shell_out| errno = 11 (Resource temporarily unavailable) **** top shell_status = 0x0000 **** top shell_signal = 6 ---- top shell_exit not as expected: got 0x0000 wanted 0x0002 * top RESETTING after ../../../../bin/vinyltest/vtest2/tests/a00000.vtc * top TEST ../../../../bin/vinyltest/vtest2/tests/a00000.vtc FAILED # top TEST ../../../../bin/vinyltest/vtest2/tests/a00000.vtc FAILED (0.528) exit=2 FAIL vtest2/tests/a00000.vtc (exit status: 2)